<template>
<div>
  <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
    <van-swipe-item>
      <img src="http://120.53.31.103:84/uploads/image/2021-09-08/lXEERcH4CIb3reka5yruT7RW7jMD4K7vreK6utgq.jpeg" alt="">
    </van-swipe-item>
    <van-swipe-item>
      <img src="http://120.53.31.103:84/uploads/image/2021-09-08/zP1osWNNxyfKSX1Dt6IDUUh5Vpz8AxD39BBaQECW.jpeg" alt="">
    </van-swipe-item>
    <van-swipe-item>
      <img src="http://120.53.31.103:84/uploads/image/2021-09-08/pihYvxiYLTL5XCVs0sMFzlvY2TfSUj95Tz0IWjgF.jpeg" alt="">
    </van-swipe-item>
  </van-swipe>
</div>
</template>

<script>
export default {
  name: "mySwipe"
}
</script>

<style scoped lang="scss">
//轮播的样式
.my-swipe {
  width: 100%;
  height: 200px;
  //background-color: white;
  background: linear-gradient(180deg, #034cfd, #31d3f4);
  .van-swipe-item {
    width: 100%;
    height: 100%;
    img {
      width: 100%;
      height: 100%;
    }
  }
}
///deep/.van-swipe__indicator .van-swipe__indicator--active{
//  width: 3px !important;
//  height: 3px !important;
//}
</style>